package com.example.lifecycletest

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import kotlinx.android.synthetic.main.activity_normal.*

class NormalActivity : AppCompatActivity() {
    val TAG:String = "NormalActivity"
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        Log.e(TAG, "onCreate: Task id is $taskId" )
        setContentView(R.layout.activity_normal)
        startSelf.setOnClickListener {
            startActivity(Intent(this,DialogActivity::class.java))
        }
    }
}